/*
 * @Author: nns4
 * @Date: 2021-01-13 11:34:05
 * @LastEditors: nns4
 * @FilePath: /studyNote/node/fs/unlink.js
 * @Description:  同步删除文件
 */

const { unlinkSync } = require('fs');
const { log } = console;

unlinkSync('index.js');
log('文件已删除');
